package com.koyi0000.mq.rabbit.constant.enums;

/**
 *  用户枚举
 *
 * @author koyi0000
 * Description  Date 2020/9/15 17:36
 **/
public class UserEnum {


    /**
     * 性别枚举
     */
    public enum GenderEnum{
        MALE(0, "男", "man"),
        FEMALE(1, "女", "woman");

        private int tag;

        private String desc;

        private String enDesc;

        GenderEnum(int tag, String desc, String enDesc) {
            this.tag = tag;
            this.desc = desc;
            this.enDesc = enDesc;
        }

        public int getTag() {
            return tag;
        }

        public String getDesc() {
            return desc;
        }

        public String getEnDesc() {
            return enDesc;
        }

//        GenderEnum getEnumDesc(int tag) {
//
//        }

    }
}
